Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

144
Views
List of Supported MIME Types for Clipboard "write"

My application generates a video file using the MediaRecorder api, of type video/webm.

I'm trying to copy this file to the clipboard by:

const item = new ClipboardItem({['video/webm']: blob});
await navigator.clipboard.write([item]);

However I get the following error:

ERROR DOMException: Type video/webm not supported on write.

What MIME types are supported for clipboard.write? Is there any video MIME type supported?

On Safari (Webkit), there are four supported: https://webkit.org/blog/10855/async-clipboard-api/

  • "text/plain"
  • "text/html"
  • "text/uri-list"
  • "image/png"
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In Chromium, the following MIME types are supported:

  • text/plain
  • text/html
  • image/png

Source: ClipboardWriter::IsValidType

This tracking bug tracks support for more formats.


Currently, there is a proposal to allow custom MIME Types: Pickling for Async Clipboard API

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!